From: Florian Müllner Date: Fri, 12 Sep 2014 09:33:39 +0000 (+0200) Subject: location: Add link to corresponding Settings X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2135 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c7e3b68dcdd2dc9bd226731efd5ca7bbc2a0ca8a;p=gnome-shell.git location: Add link to corresponding Settings All other submenus link to the corresponding settings, so we should do the same for location - the privacy panel in this case, which now sports a "Location Services" switch ... https://bugzilla.gnome.org/show_bug.cgi?id=736542 --- diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 9dc736eb7..26a2a223f 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -70,6 +70,7 @@ const Indicator = new Lang.Class({ this._item.status.text = _("Enabled"); this._onOffAction = this._item.menu.addAction(_("Disable"), Lang.bind(this, this._onOnOffAction)); + this._item.menu.addSettingsAction(_("Privacy Settings"), 'gnome-privacy-panel.desktop'); this.menu.addMenuItem(this._item);